<template>
  <Person  :list="personList"></Person>
</template>

<script lang="ts" setup name="App">
  import Person from './components/Person.vue'
  import { reactive } from 'vue';
  import { type Persons } from './types'

  let personList: Persons = reactive([
    { id: 'e98219e12', name: '张三', age: 18 },
    { id: 'e98219e13', name: '李四', age: 19 },
    { id: 'e98219e14', name: '王五', age: 20 }
  ])


</script>

<style scoped></style>
